package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.SoulQuestion;
import org.bson.types.ObjectId;

import java.util.List;
import java.util.Map;

/**
 * @Desciption:test
 * @Create by:金木yan
 * @Date: 2021/12/11 15:27
 */
public interface SoulQuestionsApi {
    //根据问卷id查询试题集合
    Map<ObjectId, List<SoulQuestion>> findByQuestionnaireId(ObjectId questionnaireId);

    //根据试题id，查询问卷id
    ObjectId findById(String questionId);
}
